home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_geomview.idb / usr / freeware / catman / u_man / cat1 / geomview.Z / geomview
Encoding:
Text File  |  1999-01-26  |  18.7 KB  |  463 lines

  1.  
  2.  
  3.  
  4.      GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))    GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 11110000,,,, 1111999999996666))))       GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       Geomview - interactive geometry viewer
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       geomview [-opengl] [-b _r _g _b]    [-c _c_o_m_m_a_n_d_f_i_l_e]
  13.            [-wins #_w_i_n_d_o_w_s]    [-nopanels]
  14.            [-wpos _x_m_i_n _y_m_i_n    _x_s_i_z_e _y_s_i_z_e]
  15.            [-wpos _x_s_i_z_e,_y_s_i_z_e[@_x_m_i_n,_y_m_i_n]] [-e _e_x_t_e_r_n_a_l-_m_o_d_u_l_e-
  16.            _n_a_m_e] [-M[cg][sp] _p_i_p_e_n_a_m_e] [-start _e_x_t_e_r_n_a_l-_m_o_d_u_l_e-
  17.            _n_a_m_e [_a_r_g ...] --] [-run    _e_x_t_e_r_n_a_l-_m_o_d_u_l_e-
  18.            _p_a_t_h [_a_r_g ...] --] [_f_i_l_e    ...]
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       Geomview is an interactive geometry viewer  written  at  the
  22.       Geometry Center.  It displays    the objects in the files given
  23.       on the command line and allows the user to view and  manipu-
  24.       late them interactively.
  25.  
  26.       The present version (1.6.1)  of  geomview  runs  on  Silicon
  27.       Graphics Irises, NeXT, and X Window System workstations.  We
  28.       are very interested in hearing about any  problems  you  may
  29.       have    using  it; see below for information on    how to contact
  30.       us.
  31.  
  32.       In addition to providing interactive control over a world of
  33.       objects  via    the mouse and keyboard,    geomview has an    inter-
  34.       preted language of commands for controlling almost every as-
  35.       pect of its display.    It can execute files containing    state-
  36.       ments    in this    language, and it can  communicate  with     other
  37.       programs using the language.    See geomview(5), e.g. the file
  38.       man/cat5/geomview.5 in the geomview distribution,  for  more
  39.       details of the language.
  40.  
  41.  
  42.      TTTTUUUUTTTTOOOORRRRIIIIAAAALLLL
  43.       This manual page serves only as  a  (very)  terse  reference
  44.       manual for geomview.    For a gentler introduction to the pro-
  45.       gram and the format of the  data  files  it  can  read,  see
  46.       "overview"  and  "oogltour"  in  the    "doc" directory    of the
  47.       geomview distribution,  or  better,  see  the     full  manual:
  48.       "geomview.tex"  or "geomview.ps", also in the    "doc" directo-
  49.       ry.  The source distribution also includes  a     tutorial  for
  50.       how  to  write  external  modules  in     the "src/bin/example"
  51.       directory.
  52.  
  53.  
  54.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  55.       -opengl
  56.            Some geomview distributions include two gvx executables
  57.            --  one    which  displays     images     using    only X windows
  58.            graphics, and another which uses    Open GL.  The  ----ooooppppeeeennnnggggllll
  59.            (or  ----OOOOGGGGLLLL) option selects the latter, if    it exists.  If
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 12/22/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))    GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 11110000,,,, 1111999999996666))))       GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))
  71.  
  72.  
  73.  
  74.            used, this option mmmmuuuusssstttt bbbbeeee tttthhhheeee  ffffiiiirrrrsssstttt  ooooppppttttiiiioooonnnn  ggggiiiivvvveeeennnn  ttttoooo
  75.            ggggeeeeoooommmmvvvviiiieeeewwww.
  76.  
  77.       -b   Set the window background color to  the    given  r  g  b
  78.            values.
  79.  
  80.       -c   Interpret the commands in  commandfile,    which  may  be
  81.            ``-''  for  standard  input.   The  command language is
  82.            described in geomview(5).   Commands  may  be  supplied
  83.            literally,  as  in  ``-c    "(ui-panel main    off)"''; since
  84.            they include parentheses, they must be quoted.
  85.  
  86.       -wins
  87.            Causes geomview to initially  display  #windows    camera
  88.            windows.
  89.  
  90.       -wpos
  91.            Specifies the initial location and size    of  the     first
  92.            camera window.  With ``-'', you are prompted for    window
  93.            placement.
  94.  
  95.       -M _o_b_j_n_a_m_e
  96.         Display    (possibly dynamically changing)     geometry  (or
  97.            commands)  sent    via ``ttttooooggggeeeeoooommmmvvvviiiieeeewwww ----gggg _o_b_j_n_a_m_e [_g_e_o_m_v_i_e_w-
  98.            _s_h_e_l_l-_c_o_m_m_a_n_d]''     or  ``ggggeeeeoooommmmssssttttuuuuffffffff _o_b_j_n_a_m_e  _f_i_l_e    ...''.
  99.            The data    appears    as a geomview object named _o_b_j_n_a_m_e.
  100.  
  101.            Actually        listens    to     the     named      pipe
  102.            ``/tmp/geomview/_o_b_j_n_a_m_e''; you can achieve the same ef-
  103.            fect with the shell commands:
  104.            mkdir /tmp/geomview;
  105.            mknod /tmp/geomview/_o_b_j_n_a_m_e p
  106.            (assuming the directory and named  pipe    don't  already
  107.            exist), then executing the geomview command:
  108.            (geometry _o_b_j_n_a_m_e  <    /tmp/geomview/_o_b_j_n_a_m_e)
  109.  
  110.       -M[cg][sp] _p_i_p_e_n_a_m_e
  111.            The ----MMMM option accepts modifiers:    a 'g'  suffix  expects
  112.            geometry     data  (the default), while 'c'    suffix expects
  113.            gcl commands.  A    'p' implies the    connection should  use
  114.            a  named     pipe (the default on the Iris), while 's' im-
  115.            plies using a UNIX-domain socket    (default on the    NeXT).
  116.            So  ----MMMMccccssss     ffffrrrreeeedddd  selects reading commands    from the UNIX-
  117.            domain socket named ////ttttmmmmpppp////ggggeeeeoooommmmvvvviiiieeeewwww////ffffrrrreeeedddd.
  118.  
  119.       -nopanels
  120.            Start up    displaying no panels, only  graphics  windows.
  121.            Panels may be invoked later as usual with the "Px" key-
  122.            board shortcuts or "(ui-panel ...)"  command.
  123.  
  124.       -noinit
  125.            Read no initialization  files.    By  default,  geomview
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 12/22/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))    GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 11110000,,,, 1111999999996666))))       GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))
  137.  
  138.  
  139.  
  140.            reads  the  system-wide    ".geomview"  file, followed by
  141.            those in    $HOME/.geomview    and ./.geomview.
  142.  
  143.       -e _m_o_d_u_l_e_n_a_m_e
  144.            Start an    external module; _m_o_d_u_l_e_n_a_m_e is the name     asso-
  145.            ciated  with  the module, appearing in the main panel's
  146.            Applications browser, as    defined    by the    emodule-define
  147.            command (see geomview(5)    for details).
  148.  
  149.       -start _m_o_d_u_l_e_n_a_m_e _a_r_g_u_m_e_n_t_s ... --
  150.            Like -e but allows you to pass arguments    to the    exter-
  151.            nal module.  "--" signals the end of the    argument list;
  152.            the "--"    may be omitted if it would be the  last     argu-
  153.            ment on the geomview command line.
  154.  
  155.       -run _s_h_e_l_l-_c_o_m_m_a_n_d _a_r_g_u_m_e_n_t_s ...
  156.            Like -start but takes the pathname of executable    of the
  157.            external    module instead of the module's name.
  158.  
  159.  
  160.      GGGGEEEEOOOOMMMMEEEETTTTRRRRYYYY FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTTSSSS
  161.       The format of    the files read by  geomview  is     described  in
  162.       oogl(5);  type "man 5    oogl", or see the file man/cat5/oogl.5
  163.       in the geomview distribution,    for details.
  164.  
  165.       Note to users    of  MinneView  (the  precursor    to  geomview):
  166.       geomview can read MinneView files, but MinneView cannot read
  167.       all geomview files.
  168.  
  169.  
  170.      SSSSTTTTAAAARRRRTTTTUUUUPPPP FFFFIIIILLLLEEEESSSS
  171.       Immediately upon starting up geomview    reads and executes the
  172.       commands  in    the  system-wide  .geomview file in the    "data"
  173.       subdirectory of the geomview directory.  Then, if there is a
  174.       file    named  .geomview in the    current    directory, it executes
  175.       the commands in that file.  If no in the user's home    direc-
  176.       tory,    and executes it    if found. The startup file of an indi-
  177.       vidual user overrides    the systemwide defaults,  since     later
  178.       commands take    precedence over    earlier    ones.
  179.  
  180.  
  181.      EEEEXXXXTTTTEEEERRRRNNNNAAAALLLL MMMMOOOODDDDUUUULLLLEEEESSSS
  182.       Geomview  has     the  ability  to  interact  via  its  command
  183.       language  with  other     programs,  called "external modules".
  184.       Many such modules have been written and appear in  the  "Ap-
  185.       plication"  browser in the main geomview panel.  To invoke a
  186.       module you click the mouse on    the  module's  entry  in  this
  187.       browser.   This starts the module and    adds an    additional en-
  188.       try to the browser, beginning    with a number in square    brack-
  189.       ets  as in ``[1] Crayola'', which represents the running in-
  190.       stance of that module.  You  can  terminate  the  module  by
  191.       clicking  on    the  numbered  entry.    Modules    are documented
  192.  
  193.  
  194.  
  195.      Page 3                        (printed 12/22/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))    GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 11110000,,,, 1111999999996666))))       GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))
  203.  
  204.  
  205.  
  206.       separately from geomview.  See  the  manual  page  for  each
  207.       module for details.
  208.  
  209.  
  210.      IIIINNNNSSSSTTTTAAAALLLLLLLLIIIINNNNGGGG    AAAANNNN EEEEXXXXTTTTEEEERRRRNNNNAAAALLLL MMMMOOOODDDDUUUULLLLEEEE
  211.       Geomview looks for external modules in a  special  directory
  212.       for  modules.     In the    geomview distribution tree this    is the
  213.       "bin/$MACHTYPE" subdirectory.      A  module  consists  of  two
  214.       files:  the  executable  program,  and a "module init    file",
  215.       which    is a whose name    is ".geomview-"    followed by the    module
  216.       name.      The  module init file    tells geomview how to run that
  217.       program.  Be sure to always keep these two  files  together;
  218.       geomview  needs both of them in order    to run the module.  To
  219.       install a new    module,    simply    put  the  module's  executable
  220.       file    and its    init file in your geomview's module directory.
  221.       The next time    you run    geomview,  it  will  know  about  that
  222.       module.
  223.  
  224.       Geomview can actually    looks for modules in a list of    direc-
  225.       tories;  by default only the "bin/$MACHTYPE" directory is on
  226.       this list.  See the set-emodule-path command in  geomview(5)
  227.       for details.
  228.  
  229.       There    is a tutorial for how to write external    modules    in the
  230.       "src/bin/example" directory.
  231.  
  232.  
  233.      EEEEXXXXTTTTEEEERRRRNNNNAAAALLLL MMMMOOOODDDDUUUULLLLEEEE IIIINNNNIIIITTTT FFFFIIIILLLLEEEESSSS
  234.       An external module init file is the file that    tells geomview
  235.       how  to run that module.  Its    name must be ".geomview-" fol-
  236.       lowed    by the name of the module, e.g.    ".geomview-foo".    It
  237.       should  contain geomview commands; typically it will contain
  238.       a single emodule-define command which    enters the module into
  239.       geomview's application browser:
  240.  
  241.           (emodule-define "Foo"    "foo")
  242.  
  243.       The first string is the name that appears  in     the  browser.
  244.       The  second  string is the command to    invoke the module.  It
  245.       may contain arguments; in fact it can    be an arbitrary     shell
  246.       command.
  247.  
  248.  
  249.  
  250.      KKKKEEEEYYYYBBBBOOOOAAAARRRRDDDD SSSSHHHHOOOORRRRTTTTCCCCUUUUTTTTSSSS
  251.       Many geomview    operations are available  from    the  keyboard.
  252.       Hitting  the    "?"  button  on     the main panel, or typing "?"
  253.       with the cursor in any window, causes    geomview  to  print  a
  254.       message   on     standard  output  listing  all     the  keyboard
  255.       shortcuts.
  256.  
  257.       Keyboard commands apply while    cursor is in any graphics window and most
  258.  
  259.  
  260.  
  261.      Page 4                        (printed 12/22/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))    GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 11110000,,,, 1111999999996666))))       GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))
  269.  
  270.  
  271.  
  272.       control panels. Most commands    allow one of the following selection prefixes
  273.       (if none is provided the command applies to the current object):
  274.          g    world geom    g#  #'th geom  g*     All geoms
  275.          c    current    camera       c#  #'th camera     c*  All cameras
  276.       Many allow a numeric prefix:    if none    they toggle or reset current value.
  277.       Appearance:
  278.        Draw:          Shading:         Other:
  279.         af    Faces          0as Constant    av  eVert    normals: always    face viewer
  280.         ae    Edges          1as Flat    #aw  Line Width    (pixels)
  281.         an    Normals          2as Smooth     #ac  edges    Closer than faces(try 5-100)
  282.         ab    Bounding Boxes       3as Smooth, non-lighted  al    Shade lines
  283.         aV    Vectors          aT  allow    transparency   at  Texture-mapping
  284.        Color:          aC  allow    concave    polygons
  285.         Cf Ce Cn Cb    CB   face/edge/normal/bbox/backgnd
  286.       Motions:             Viewing:
  287.         r rotate        [ Leftmouse=X-Y plane,     0vp Orthographic    view
  288.         t translate          Middle=Z axis,      1vp Perspective view
  289.         z zoom FOV          Shift=slow motion,    vd Draw    other views' cameras
  290.         f fly          in r/t modes.     ]     #vv field of View
  291.         o orbit          [Left=steer, Middle=speed    ]   #vn    near clip distance
  292.         s scale            #vf far    clip distance
  293.         w/W    recenter/all              v+ add new camera
  294.         h/H    halt/halt all              vx cursor    on/off
  295.         @  select center of    motion (e.g. g3@)    vb backfacing poly cull    on/off
  296.                     #vl focal length
  297.         L  Look At object              v~ Software shading on/off
  298.       show Panel:     Pm Pa Pl Po    main/appearance/lighting/obscure
  299.             Pt Pc PC Pf       tools/cameras/Commands/file-browser
  300.             Ps P-       saving/read commands    from tty
  301.       Lights:  ls le      Show lights / Edit Lights
  302.       Metric:  me mh ms   Euclidean    Hyperbolic Spherical
  303.       Model:   mv mp mc   Virtual Projective Conformal
  304.       Other:
  305.         N normalization < Pf  load geom/command file
  306.          0N    none       > Ps     save something    to file        ui    motion has inertia
  307.          1N    each       TV NTSC mode    toggle      uc  constrained (X/Y)    motion
  308.          2N    all            uo  motion in Own coord    system
  309.         Rightmouse-doubleclick  pick as current target object
  310.         Shift-Rightmouse        pick interest (center) point
  311.       Renderman:
  312.         RR send RIB    output to <fileprefix>NNN.rib (default fileprefix == "geom")
  313.         RC Emulate lines using cylinders (default)
  314.         RP Emulate lines using polygons
  315.         Ra choose ASCII RIB    format (default)
  316.         Rb choose BINARY RIB format
  317.         Rt choose Display token to specify .tiff file (default)
  318.         Rf choose Display token to specify framebuffer
  319.         Rs Simulate    background color with Polygon (default)
  320.         Rx No background simulation    - fully    transparent (alpha) background
  321.  
  322.  
  323.      NNNNOOOOTTTTEEEESSSS
  324.  
  325.  
  326.  
  327.      PPPPaaaaggggeeee 5555                        ((((pppprrrriiiinnnntttteeeedddd 11112222////22222222////99998888))))
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))    GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 11110000,,,, 1111999999996666))))       GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))
  335.  
  336.  
  337.  
  338.       The "geomview" command is actually a shell script that  sets
  339.       various environment variables    which tell geomview about your
  340.       local    setup, and then    invokes    the geomview  executable  pro-
  341.       gram    "gvx" (or "gvx.OGL").  Do not run "gvx"    by itself; al-
  342.       ways invoke geomview with the    "geomview" shell script.
  343.  
  344.  
  345.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  346.       oogl(5) - OOGL geometric file    formats    and conventions
  347.       geomview(5) -    geomview command language reference
  348.  
  349.      FFFFIIIILLLLEEEESSSS
  350.       data/.geomview - default  initialization  file  in  geomview
  351.            command language
  352.       data/geom - sample data files
  353.  
  354.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  355.       The ``geomview'' shell script    sets these internally  by  de-
  356.       fault;  if you set them before invoking geomview, the    values
  357.       you set will be used instead of the built-in defaults.
  358.       GEOMROOT - main directory under  which  geomview  finds  its
  359.            data files, modules, and    gvx executable.
  360.       GEOMVIEW_GVX - geomview executable
  361.       GEOMVIEW_LOAD_PATH - colon-separated search  path  for  data
  362.            files
  363.       GEOMVIEW_EMODULE_PATH     -  colon-separated  search  path  for
  364.            external    modules
  365.       GEOMVIEW_SYSTEM_INITFILE -  system-wide  GCL    initialization
  366.            script
  367.       GEOMDATA - top directory of the default data tree,  used  by
  368.            some modules
  369.  
  370.  
  371.      AAAAUUUUTTTTHHHHOOOORRRRSSSS
  372.          Stuart Levy          Tamara Munzner         Mark Phillips
  373.       slevy@geom.umn.edu       munzner@geom.umn.edu        mbp@geom.umn.edu
  374.  
  375.                Celeste Fowler           Nathaniel Thurston
  376.             fowler@geom.umn.edu            njt@geom.umn.edu
  377.  
  378.             Daniel Krech               Scott Wisdom
  379.              krech@geom.umn.edu           wisdom@geom.umn.edu
  380.  
  381.             Daeron Meyer              Timothy Rowley
  382.             daeron@geom.umn.edu           trowley@geom.umn.edu
  383.  
  384.          The National Science and Technology Research Center for
  385.           Computation and Visualization    of Geometric Structures
  386.                   (The Geometry    Center)
  387.                  University of Minnesota
  388.                  1300 South Second Street
  389.                    Minneapolis, MN    55454  USA
  390.  
  391.  
  392.  
  393.      Page 6                        (printed 12/22/98)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))    GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 11110000,,,, 1111999999996666))))       GGGGeeeeoooommmmvvvviiiieeeewwww((((1111))))
  401.  
  402.  
  403.  
  404.                   software@geom.umn.edu
  405.  
  406.      BBBBUUUUGGGGSSSS
  407.       Sometimes core dumps on bad input files.
  408.  
  409.       Zoom and scale have no inertia.
  410.  
  411.       Virtual spherical mode doesn't work on VGXes.
  412.  
  413.       If you find a    bug, please let    us know    about  it  by  sending
  414.       email     to  software@geom.umn.edu, or by contacting us    at the
  415.       address above.
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.      Page 7                        (printed 12/22/98)
  460.  
  461.  
  462.  
  463.